package com.anivia.system.auth.model.vo;

import com.anivia.common.core.enums.DesensitizedTypeEnum;
import com.anivia.common.web.annotation.DesensitizationField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 系统用户表
 * </p>
 *
 * @author wangj
 */
@Data
@Schema
public class UserLoginVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "token，请求头key为Authorization")
    private String token;

    @Schema(description = "手机号")
    @DesensitizationField(type = DesensitizedTypeEnum.PHONE)
    private String phone;

    @Schema(description = "姓名")
    @DesensitizationField(type = DesensitizedTypeEnum.CHINESE_NAME)
    private String userName;
}
